﻿using System;
using System.Collections.Generic;

namespace ExtensionForIEnumerable
{
    class ExtensionForIEnumarableTest
    {
        static void Main(string[] args)
        {
            List<int> enumeration = new List<int>();

            for (int i = 1; i < 11; i++) 
            {
                enumeration.Add(i);
            }
            enumeration.Add(10);
            Console.WriteLine(enumeration.Max<int>());
            Console.WriteLine(enumeration.Min<int>());
            Console.WriteLine(enumeration.Sum<int>());
            Console.WriteLine(enumeration.Average<int>());
            Console.WriteLine(enumeration.Product<int>());
        }
    }
}
